<script setup lang="ts">
import { shareTypes } from './helpers';

const startParam = Object.fromEntries(new URLSearchParams(window.location.search));

if (shareTypes.BetDetail.assert(startParam)) {
  globalPopups.gameRecordDetail.open({
    gameCode: startParam.gameCode,
    orderNo: startParam.orderNo,
  });
}
</script>

<template>
  <div data-name="share-manager" />
</template>
